package com.kangaroo.myhome.mapper;

import com.kangaroo.myhome.model.CommonSearch;
import com.kangaroo.myhome.model.TInspProject;
import com.kangaroo.myhome.model.TInspProjectPlan;
import com.kangaroo.myhome.model.TInspProjectPlanExample;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface TInspProjectPlanMapper {


    List<TInspProjectPlan> selectByPagination(CommonSearch commonSearch);

    long selectByPaginationCount(CommonSearch commonSearch);

    long countByExample(TInspProjectPlanExample example);

    int deleteByExample(TInspProjectPlanExample example);

    int deleteByPrimaryKey(String id);

    int insert(TInspProjectPlan record);

    int insertSelective(TInspProjectPlan record);

    List<TInspProjectPlan> selectByExample(TInspProjectPlanExample example);

    TInspProjectPlan selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") TInspProjectPlan record, @Param("example") TInspProjectPlanExample example);

    int updateByExample(@Param("record") TInspProjectPlan record, @Param("example") TInspProjectPlanExample example);

    int updateByPrimaryKeySelective(TInspProjectPlan record);

    int updateByPrimaryKey(TInspProjectPlan record);
}